package com.ruoyi.common.core.domain.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 微信登录/注册信息
 *
 * @author lie
 * @date 2022/11/23
 */
@Data
@ApiModel("微信登录/注册信息")
public class WeChatLoginBody {

    @NotBlank(message = "code不能为空")
    @ApiModelProperty("微信登录code")
    private String code;

    @ApiModelProperty("用户名称")
    private String name;

    @ApiModelProperty("用户头像")
    private String headPortrait;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("邀请人id")
    private Long invitationId;

}
